#include <stdio.h>
#include <stdlib.h>
#include <pngwriter.h>
#include <iostream>
#define BOX_TO_PIXEL 1

/*
When dereferencing int**, first the column and then the row

*(*(basemap + j ) + i)

*/

class HeightmapWriter
{
	public:
		HeightmapWriter();
		~HeightmapWriter();
		
		void write(int** map, int h, int w);
};